/**
 * 
 */
package com.suneee.industry.entity;

import java.io.Serializable;
import java.sql.Timestamp;

import com.suneee.orm.annotation.Column;
import com.suneee.orm.annotation.Entity;
import com.suneee.orm.annotation.GeneratedValue;
import com.suneee.orm.annotation.GenerationType;
import com.suneee.orm.annotation.Id;
import com.suneee.orm.annotation.Table;
import com.suneee.orm.annotation.Transient;

/**
 * @author liuxh 行业分类管理属性类
 */

@Entity
@Table(name = "t_industry")
public class Industry implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6616181465999036453L;

	// 行业id
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "industry_id", nullable = false)
	private int industryId;

	// 行业名称
	@Column(name = "name", nullable = false)
	private String name;

	// 排序
	@Column(name = "order_number", nullable = false)
	private int orderNumber;

	// 创建时间
	@Column(name = "create_time", nullable = false)
	private Timestamp createTime;

	// 创建人id
	@Column(name = "create_user_id", nullable = false)
	private int createUserId;
	
	@Transient
	private String createUserName;
	

	public String getCreateUserName() {
		return createUserName;
	}

	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}

	public int getIndustryId() {
		return industryId;
	}

	public void setIndustryId(int industryId) {
		this.industryId = industryId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getOrderNumber() {
		return orderNumber;
	}

	public void setOrderNumber(int orderNumber) {
		this.orderNumber = orderNumber;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public int getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(int createUserId) {
		this.createUserId = createUserId;
	}

}
